package cevent.source.cloudcenter.server.dto;


import java.util.List;

/**
 * @author cevent
 * @description 角色管理表 模块传输层
 */
public class RolesDto {

    //唯一ID
    private String uniId;
    //角色名称
    private String name;
    //权限描述
    private String privilegeDesc;
    //增加前端传入的resourcesIds存入rolesResources
    private List<String> resourcesId;
    //增加前端传入的employeeIds存入rolesEmployee
    private List<String> employeeId;

    public String getUniId() {
        return uniId;
    }

    public void setUniId(String uniId) {
        this.uniId = uniId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrivilegeDesc() {
        return privilegeDesc;
    }

    public void setPrivilegeDesc(String privilegeDesc) {
        this.privilegeDesc = privilegeDesc;
    }

    public List<String> getResourcesId() {
        return resourcesId;
    }

    public void setResourcesId(List<String> resourcesId) {
        this.resourcesId = resourcesId;
    }

    public List<String> getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(List<String> employeeId) {
        this.employeeId = employeeId;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("RolesDto{");
        sb.append("uniId='").append(uniId).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", privilegeDesc='").append(privilegeDesc).append('\'');
        sb.append(", resourcesId=").append(resourcesId);
        sb.append(", employeeId=").append(employeeId);
        sb.append('}');
        return sb.toString();
    }
}
